Broadcasting equipment and method, receiving equipment and method, and medium

ABSTRACT

To compensate a failure in downloading of music piece data. For example, when a viewer instructs purchase of a music piece C to an IRD at a timing t 0  during the sixth transmission of music piece data, the music piece data to be transmitted for the seventh time immediately after the instruction is usually downloaded. When the downloading of the music piece data transmitted for the seventh time fails for some reason, downloading is re-executed on music piece data to be transmitted for the eighth time. The music piece data for the final transmission time in each of musical pieces is used for re-execution. Timing at which downloading of the music piece data transmitted for the time immediately preceding the final time can be instructed is set as purchase limit time by using elapsed time since program start time.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a divisional of U.S. application Ser. No.09/744,121, filed on Mar. 19, 2001, the disclosure of which isincorporated herein by reference.

TECHNICAL FIELD

The present invention relates to broadcasting equipment and method,receiving equipment and method, and a medium and, more particularly, tobroadcasting equipment and a method, receiving equipment and a method,and a medium suitable for use in the case of providing service ofdownloading contents data.

BACKGROUND ART

Digital satellite broadcasting such as, for example, Sky PerfecTV(trademark) is being widespread. The digital satellite broadcasting cantransmit a signal of higher quality as compared with existing analogbroadcasting and realizes a large number of channels. In such digitalsatellite broadcasting, channels dedicated to sports, movies, music,news and the like are prepared. A music channel is one of popularchannels among the dedicated channels.

When a view watches such a music channel, he/she may like a music piecebeing broadcasted and want to purchase a CD (Compact Disc) or the likecontaining the musical piece. In such a case, it is convenient that dataon the music piece can be downloaded while watching the music channel.The applicant of the present invention has proposed a system capable ofmultiplexing music piece encoded by using the ATRAC (Adaptive TransformAcoustic Coding) system with respect to main broadcasting signals (videosignal and sound signal) of the music channel, distributing theresultant data, and charging the viewer who is purchasing (downloading)the ATRAC data, for example, in Japanese Patent Application No.10-201731.

The ATRAC system is a compression coding system adopted in the case ofrecording audio data onto an MD (Mini Disc) (trademark).

In a system of distributing music piece data and charging the viewer whopurchases it as described above, if purchase of a plurality of musicpiece data can be instructed in a lump and the plurality of music piecedata can be downloaded in optimum order, efficiency with respect to timeincreases and music piece data of a larger amount can be downloadedwithin predetermined time. The conventional system has a problem that itdoes not have such a function.

In a pay-per-view carried out on a movie channel or the like in digitalsatellite broadcasting, purchasing (watching) a program from a midpointof the program is not sufficiently worthy. Consequently, in the casewhere predetermined time is elapsed since the broadcasting start time ofthe program, purchase limitation time is set so that the program cannotbe purchased.

In a system of distributing music piece and charging the viewer who ispurchasing the data as described above, however, the purchase limitationtime is not specified. There is consequently a problem such that afailure in downloading cannot be compensated.

Further, in a pay-per-view carried out on a movie channel or the like indigital satellite broadcasting, preview time (test-listening time)during which there is no charge for viewing is set. Consequently, theviewer can determine whether a program is worth viewing (purchasing) ornot during the preview.

Such a system of distributing music piece data and charging the viewerwho purchases it has, however, a problem that there is no regulationregarding test-listening of purchasable music piece data.

Furthermore, a receiving apparatus as a component of a system asdescribed above has a problem that the apparatus cannot process the twokinds of music piece data simultaneously and independently of eachother.

Further, in a system of distributing music piece data and charging theviewer who purchases it as described above, if purchase of plural musicpiece data can be instructed in a lump and the plural music piece datacan be downloaded in an optimum order, efficiency with respect to timeincreases and music piece data of a larger amount can be downloadedwithin predetermined time. The conventional system has a problem that itdoes not have such a function.

DISCLOSURE OF INVENTION

An object of the present invention is to compensate failure indownloading by setting the purchase limitation time of music piece datain a system of downloading music piece data or the like.

An object of the present invention is to enable music piece data to betest-listened before the user purchases the music piece data in a systemof downloading music piece data or the like.

An object of the present invention is to enable two kinds of music piecedata compression coded in the ATRAC system and the MPEG2 system to beprocessed simultaneously and independently of each other in a system ofdownloading music piece data or the like.

An object of the present invention is to enable efficiency with respectto time to be improved and music piece data of a larger amount to bedownloaded within predetermined time by optimizing the order ofdownloading plural music piece data in a system of downloading musicpiece data or the like

The first invention is broadcasting equipment for multiplexingdownloadable contents data together with program information onto a mainbroadcast signal and broadcasting resultant data, comprising:

purchase limit time setting means for setting purchase limit time forthe contents data;

generating means for generating the program information including thepurchase limit time; and

multiplexing means for repeatedly multiplexing the same contents dataand the program information a plurality of times onto the main broadcastsignals of broadcasting time of one program, thereby generating atransport stream. By doing in this manner, a failure in downloading canbe compensated by setting the purchase limit time corresponding to thecontents data.

The second invention is the broadcasting equipment according to claim 1,wherein the purchase limit time setting means sets timing at whichdownloading of the contents data of a time immediately preceding thefinal time among the plurality of times can be instructed as thepurchase limit time. By doing in this manner, it is possible tofavorably set the purchase limit.

The third invention is the broadcasting equipment according to claim 2,wherein the contents data includes audio data encoded by the ATRACsystem or audio data encoded by the MPEG 2 system. By doing in thismanner, it becomes possible to favorably download the contents dataincluding audio data encoded by the ATRAC system or audio data encodedby the MPEG system.

The fourth invention is a broadcasting method of a broadcastingequipment for multiplexing downloadable contents data together withprogram information onto a main broadcast signal and broadcastingresultant data, comprising:

a purchase limit time setting step of setting purchase limit time forthe contents data;

a generating step of generating the program information including thepurchase limit time; and

a multiplexing step of repeatedly multiplexing the same contents dataand the program information a plurality of times onto the main broadcastsignals of broadcasting time of one program, thereby generating atransport stream. By doing in this manner, a failure in downloading canbe compensated by setting the purchase limit time corresponding to thecontents data.

The fifth invention is a medium for allowing broadcasting equipment formultiplexing downloadable contents data together with programinformation onto a main broadcast signal and broadcasting resultant datato execute a program comprising:

a purchase limit time setting step of setting purchase limit time forthe contents data;

a generating step of generating the program information including thepurchase limit time; and

a multiplexing step of repeatedly multiplexing the same contents dataand the program information onto the main broadcast signals ofbroadcasting time of one program, thereby generating a transport stream.By doing in this manner, a failure in downloading can be compensated bysetting the purchase limit time corresponding to the contents data.

The sixth invention is receiving equipment for receiving a transportstream obtained by repeatedly multiplexing downloadable contents datatogether with program information onto a main broadcast signal aplurality of times, comprising:

receiving means for receiving an instruction of downloading the contentsdata from the user;

capturing means for capturing the contents from the transport stream inresponse to the download instruction received by the receiving means;

re-executing means for re-executing capture of the contents when thecapturing means fails to capture the contents;

extracting means for extracting the program information corresponding tothe contents data from the transport stream; and

stopping means for stopping the receiving process of the receiving meansin accordance with purchase limit time included in the programinformation. By doing in this manner, when the capture of contentsfails, the capture of the contents is re-executed, and reception of adownload instruction from the user is stopped according to the purchaselimit time included in the program information. Thus, a failure indownloading can be compensated.

The seventh invention is the receiving equipment according to claim 6,wherein

the contents data includes audio data encoded by the ATRAC system oraudio data encoded by the MPEG2 system. By doing in this manner, itbecomes possible to favorably download the contents data including audiodata encoded by the ATRAC system or audio data encoded by the MPEGsystem.

The eighth invention is a receiving method of receiving equipment forreceiving a transport stream obtained by repeatedly multiplexingdownloadable contents data together with program information onto a mainbroadcast signal a plurality of times, comprising:

a receiving step of receiving an instruction of downloading the contentsdata from the user;

a capturing step of capturing the contents from the transport stream inresponse to the download instruction received in the receiving step;

a re-executing step of re-executing capture of the contents when thecapturing step fails to capture the contents;

an extracting step of extracting the program information correspondingto the contents data from the transport stream; and

a stopping step of stopping the receiving process of the receiving meansin accordance with purchase limit time included in the programinformation.

The ninth invention is a medium for allowing a receiving equipment forreceiving a transport stream obtained by repeatedly multiplexingdownloadable contents data together with program information onto a mainbroadcast signal a plurality of times to execute a program comprising:

a receiving step of receiving an instruction of downloading the contentsdata from the user;

a capturing step of capturing the contents from the transport stream inresponse to the download instruction received in the receiving step;

a re-executing step of re-executing capture of the contents when thecapturing step fails to capture the contents;

an extracting step of extracting the program information correspondingto the contents data from the transport stream; and

a stopping step of stopping the receiving process of the receiving meansin accordance with purchase limit time included in the programinformation. By doing in this manner, when the capture of contentsfails, the capture of the contents is re-executed, and reception of adownload instruction from the user is stopped according to the purchaselimit time included in the program information. Thus, a failure indownloading can be compensated.

The tenth invention is receiving equipment for receiving a transportstream obtained by multiplexing plural encoded data encoded by differentsystems, comprising:

first extracting means for extracting first encoded data from thetransport stream received;

first outputting means for outputting the first encoded data extractedby the first extracting means;

second extracting means for extracting second encoded data from thetransport stream received;

decoding means for decoding the second encoded data extracted by thesecond extracting means to thereby generate audio data; and

second outputting means for outputting the audio data generated by thedecoding means. By doing in this manner, it becomes possible to process,for example, two kinds of music piece data simultaneously andindependently.

The eleventh invention is the receiving equipment according to claim 10,wherein

the first encoded data is audio data compression encoded by using anATRAC system, and

the second encoded data is audio data compression encoded by using anMPEG2 system. By doing in this manner, it becomes possible to processtwo kinds of music piece data compression encoded by the ATRAC system orMPEG 2 system simultaneously and independently.

The twelfth invention is a receiving method of receiving equipment forreceiving a transport stream obtained by multiplexing a plurality ofencoded data encoded by different systems, comprising:

a first extracting step of extracting first encoded data from thetransport stream received;

a first outputting step of outputting the first encoded data extractedin the first extracting step;

a second extracting step of extracting second encoded data from thetransport stream received;

a decoding step of decoding the second encoded data extracted in thesecond extracting step to thereby generate audio data; and

a second outputting step of outputting the audio data generated in thedecoding step. By doing in this manner, it becomes possible to process,for example, two kinds of music piece data simultaneously andindependently.

The thirteenth invention is a medium for allowing a receiving equipmentfor receiving a transport stream obtained by multiplexing a plurality ofencoded data encoded by different systems to execute a programcomprising:

a first extracting step of extracting first encoded data from thetransport stream received;

a first outputting step of outputting the first encoded data extractedin the first extracting step;

a second extracting step of extracting second encoded data from thetransport stream received;

a decoding step of decoding the second encoded data extracted in thesecond extracting step to thereby generate audio data; and

a second outputting step of outputting the audio data generated in thedecoding step. By doing in this manner, it becomes possible to process,for example, two kinds of music piece data simultaneously andindependently.

The fourteenth invention is receiving equipment for receiving atransport stream obtained by repeatedly multiplexing a plurality ofcontents data, comprising:

reading means for reading predetermined information corresponding to thecontents data from the transport stream;

receiving means for receiving designation of the contents data from theuser;

determining means for determining order of extracting the plurality ofcontents data corresponding to the designation from the user received bythe receiving means from the transport stream with reference to thepredetermined information read by the reading means on the basis of apredetermined algorithm; and

extracting means for extracting the plurality of contents datacorresponding to the designation from the user received by the receivingmeans from the transport stream in accordance with the order determinedby the determining means. By doing in this manner, since it is arrangedsuch that the order of extracting the plurality of contents data isdetermined based on a predetermined algorithm by referring to thepredetermined read-out information and the plurality of contents datacorresponding to the designation from the user is extracted from thetransport stream in accordance with the order, it becomes possible toimprove efficiency with respect to time as well as download the musicpiece data of a larger amount within predetermined time.

The fifteenth invention is the receiving equipment according to claim14, comprising:

display control means for controlling a display to the effect that thecontents data unable to be extracted exists when there exists thecontents data which cannot be extracted within predetermined time by theextracting means in the plurality of contents data corresponding to thedesignation by the user received by the receiving means in the casewhere the extracting means extracts from the transport stream theplurality of contents data corresponding to the designation by the userreceived by the receiving means in accordance with the order determinedby the determining means. By doing in this manner, it becomes possibleto ascertain details concerning the unloadable contents data from thedisplay.

The sixteenth invention is a receiving method of receiving equipment forreceiving a transport stream obtained by repeatedly multiplexing aplurality of contents data, comprising:

a reading step of reading predetermined information corresponding to thecontents data from the transport stream;

a receiving step of receiving designation of the contents data from theuser;

a determining step of determining order of extracting a plurality ofcontents data corresponding to the designation from the user received inthe receiving step from the transport stream with reference to thepredetermined information read in the reading step on the basis of apredetermined algorithm; and

an extracting step of extracting the plurality of contents datacorresponding to the designation from the user received in the receivingstep from the transport stream in accordance with the order determinedin the determining step. By doing in this manner, since it is arrangedsuch that the order of extracting the plurality of contents data isdetermined based on a predetermined algorithm by referring to thepredetermined read-out information and the plurality of contents datacorresponding to the designation from the user is extracted from thetransport stream in accordance with the order, it becomes possible toimprove efficiency with respect to time as well as download the musicpiece data of a larger amount within predetermined time.

The seventeenth invention is a medium for allowing receiving equipmentfor receiving a transport stream obtained by repeatedly multiplexing aplurality of contents data to execute a program comprising:

a reading step of reading predetermined information corresponding to thecontents data from the transport stream;

a receiving step of receiving designation of the contents data from theuser;

a determining step of determining order of extracting a plurality ofcontents data corresponding to the designation from the user received inthe receiving step from the transport stream with reference to thepredetermined information read in the reading step on the basis of apredetermined algorithm; and

an extracting step of extracting the plurality of contents datacorresponding to the designation from the user received in the receivingstep from the transport stream in accordance with the order determinedin the determining step. By doing in this manner, since it is arrangedsuch that the order of extracting the plurality of contents data isdetermined based on a predetermined algorithm by referring to thepredetermined read-out information and the plurality of contents datacorresponding to the designation from the user is extracted from thetransport stream in accordance with the order, it becomes possible toimprove efficiency with respect to time as well as download the musicpiece data of a larger amount within predetermined time.

The eighteenth invention is broadcasting equipment for multiplexingdownloadable contents data onto a main broadcast signal, comprising:

test-listening time setting means for setting test-listening time forthe contents data;

the test-listening number of times setting means for setting the numberof test-listening times of the contents data;

generating means for generating program information including thetest-listening time and the number of test-listening times; and

multiplexing means for multiplexing the program information generated bythe generating means, the main broadcast signal, and the contents datato thereby generate a transport stream. By doing in this manner, sinceit is arranged such that the test-listening time and test-listeningtimes corresponding to the contents data are set and the programinformation including them is multiplexed onto the main broadcastingsignal and contents data to thereby generate the transport stream, itbecomes possible to distribute the contents data capable oftest-listening before the music piece data is purchased.

The nineteenth invention is the broadcasting equipment according toclaim 18, wherein

the contents data includes audio data encoded by an ATRAC system oraudio data encoded by an MPEG2 system. By doing in this manner, itbecomes possible to test-listen the music piece data transmitted asaudio data encoded by the ATRAC system or audio data encoded by the MPEG2 system before the audio data is purchased.

The twentieth invention is broadcasting method of broadcasting equipmentfor multiplexing downloadable contents data onto a main broadcast signaland broadcasting resultant data, comprising:

a test-listening time setting step of setting test-listening time forthe contents data;

a test-listening number of times setting step of setting the number oftest-listening times of the contents data;

a generating step of generating program information including thetest-listening time and the number of test-listening times; and

a multiplexing step of multiplexing the program information generated inthe generating step, the main broadcast signal, and the contents data tothereby generate a transport stream. By doing in this manner, since itis arranged such that the test-listening time and test-listening timescorresponding to the contents data are set and the program informationincluding them is multiplexed onto the main broadcasting signal andcontents data to thereby generate the transport stream, it becomespossible to distribute the contents data capable of test-listeningbefore the music piece data is purchased.

The twenty-first invention is a medium for allowing broadcastingequipment for multiplexing downloadable contents data onto a mainbroadcast signal and broadcasting resultant data to execute a programcomprising:

a test-listening time setting step of setting test-listening time forthe contents data;

a test-listening number of times setting step of setting the number oftest-listening times of the contents data;

a generating step of generating program information including thetest-listening time and the number of test-listening times; and

a multiplexing step of multiplexing the program information generated inthe generating step, the main broadcast signal, and the contents data tothereby generate a transport stream. By doing in this manner, since itis arranged such that the test-listening time and test-listening timescorresponding to the contents data are set and the program informationincluding them is multiplexed onto the main broadcasting signal andcontents data to thereby generate the transport stream, it becomespossible to distribute the contents data capable of test-listeningbefore the music piece data is purchased.

The twenty-second invention is receiving equipment for receiving atransport stream obtained by multiplexing downloadable contents datatogether with program information onto a main broadcast signal,comprising:

separating means for separating the contents data from the transportstream;

extracting means for extracting the program information corresponding tothe contents data separated by the separating means from the transportstream;

reproducing means for reproducing the contents data separated by theseparating means; and

regulating means for regulating a reproducing process of the reproducingmeans in accordance with the test-listening time and the number oftest-listening times included in the program information extracted bythe extracting means. By doing in this manner, the contents data and theprogram information is extracted from the transport stream, and thereproduction of the contents data is regulated in accordance with thetest-listening time and the number of test-listening times included inthe extracted program information. Consequently, the music piece datacan be test-listened before purchasing it.

The twenty-third invention is the receiving equipment according to claim22, wherein

the contents data includes audio data encoded by the ATRAC system oraudio data encoded by the MPEG2 system. By doing in this manner, itbecomes possible to test-listen the music piece data transmitted asaudio data encoded by the ATRAC system or audio data encoded by the MPEG2 system before it is purchased.

The twenty-fourth invention is a receiving method of receiving equipmentfor receiving a transport stream obtained by multiplexing downloadablecontents data together with program information onto a main broadcastsignal, comprising:

a separating step of separating the contents data from the transportstream;

an extracting step of extracting the program information correspondingto the contents data separated in the separating step from the transportstream;

a reproducing step of reproducing the contents data separated in theseparating step; and

a regulating step of regulating a reproducing process of the reproducingmeans in accordance with the test-listening time and the number oftest-listening times included in the program information extracted inthe extracting step. By doing in this manner, the contents data and theprogram information is extracted from the transport stream, and thereproduction of the contents data is regulated in accordance with thetest-listening time and the number of test-listening times included inthe extracted program information. Consequently, the music piece datacan be test-listened before purchasing it.

The twenty-fifth invention is medium for allowing receiving equipmentfor receiving a transport stream obtained by multiplexing downloadablecontents data together with program information onto a main broadcastsignal to execute a program characterized by comprising:

a separating step of separating the contents data from the transportstream;

an extracting step of extracting the program information of the contentsdata separated in the separating step from the transport stream;

a reproducing step of reproducing the contents data separated in theseparating step; and

a regulating step of regulating a reproducing process of the reproducingmeans in accordance with the test-listening time and the number oftest-listening times included in the program information extracted inthe extracting step. By doing in this manner, the contents data and theprogram information is extracted from the transport stream, and thereproduction of the contents data is regulated in accordance with thetest-listening time and the number of test-listening times included inthe extracted program information. Consequently, the music piece datacan be test-listened before purchasing it.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing an example of the configuration of anEMD system to which the invention is applied.

FIG. 2 is a block diagram showing an example of the configuration of atransmitting equipment 1 in FIG. 1.

FIG. 3 is a diagram for explaining the type of music piece data fordownloading.

FIG. 4 is a diagram for explaining purchase limit time of the musicpiece data for downloading.

FIG. 5 is a diagram for explaining a TS packet in which ATRAC data isplaced.

FIG. 6 is a diagram for explaining the TS packet in which ATRAC data isplaced.

FIG. 7 is a diagram for explaining the TS packet in which ATRAC data isplaced.

FIG. 8 is a diagram for explaining the TS packet in which ATRAC data isplaced.

FIG. 9 is a diagram for explaining an ATRAC data checksum in the TSpacket.

FIG. 10 is a block diagram showing an example of the configuration ofthe IRD 5 in FIG. 1.

FIG. 11 is a flowchart for explaining a test-listening process of theIRD 5.

FIG. 12 is a diagram showing an example of the display of a GUI.

FIG. 13 is a flowchart for explaining a purchasing process of the IRD 5.

FIG. 14 is a flowchart for explaining a download order determiningprocess of the IRD 5.

FIG. 15 is a diagram for explaining the download order determiningprocess.

FIG. 16 is a flowchart for explaining a parallel process of the IRD 5.

FIG. 17 is a block diagram showing an example of the configuration of anMD recorder 9 in FIG. 1.

FIG. 18 is a block diagram showing an example of the configuration of anIEEE1394 interface 62 in FIG. 17.

FIG. 19 is a flowchart for explaining an ATRAC data extracting processof the IEEE1394 interface 62.

FIG. 20 is a diagram for explaining media.

BEST MODE FOR CARRYING OUT THE INVENTION

FIG. 1 shows a configuration example of an embodiment of an EMD(Electric Music Distribution) system to which the invention is applied.In the EMD system, a transmitting equipment 1 on the broadcast stationside multiplexes, for example, main broadcast signals (a video signaland a sound signal compression coded by the MPEG2 system) of a musicprogram, music piece data (MPEG audio data and ATRAC data) fordownloading a music piece related to the music program, and the like,scrambles a resultant signal, executes necessary processes such as errorcorrection of the scrambled signal, performs, for example, QPSK(Quadrature Phase Shift Keying) modulation of an MPEG transport streamobtained (hereinbelow, described as TS), and transmits a resultantsignal as an electric wave from an antenna 2

The electric wave transmitted from the antenna 2 is relayed by acommunication satellite 3, received by an antenna 4, and supplied to anIRD 5. The IRD 5 QPSK demodulates the electric wave received by theantenna 4, performs necessary processes such as error correction,extracts a TS packet of a channel selected by the user, and descramblesthe data. The IRD 5 MPEG decodes the main broadcast signal included inthe extracted TS packet, outputs an obtained video signal to a monitor6, and outputs the sound signal to a speaker 7

The IRD 5 extracts the TS packet including the music piece data (ATRACdata) for downloading and supplies the TS packet to an MD deck 9connected to the IRD 5 via an IEEE1394 bus 8. Further, the IRD 5 MPEGdecodes the music piece data (MPEG audio data) for downloading andoutputs resultant data to the speaker 7 or an MD deck 10 connected to asound output terminal.

The IRD 5 records a download history of music piece data into a built-inIC card 40 (FIG. 10) and periodically transmits the download historyinformation to the transmitting equipment 1 via a public telephonenetwork 11. The download history information transmitted to thetransmitting equipment 1 is used as information for charging the user ofthe IRD 5.

The MD deck 9 records the music piece data (ATRAC data) supplied fromthe IRD 5 via the IEEE1394 bus 8 onto an MD and reproduces the data. TheMD deck 10 encodes the music piece data (audio data obtained by decodingthe MPEG audio data) supplied from the IRD 5 in accordance with theATRAC system, records the encoded data onto an MD, and reproduces thedata.

FIG. 2 shows an example of a detailed configuration of the transmittingequipment 1. An encoder 21 in the transmitting equipment 1 compressionencodes a program source (the video signal and the sound signal as mainbroadcast signals) in accordance with the MPEG2 system and outputs theresultant to a multiplexer 22. The multiplexer 22 time-divisionmultiplexes the main broadcast signal from the encoder 21, individualinformation EMM (Entitlement Management Message) supplied from ascramble control system 25, program information ECM (Entitlement ControlMessage) supplied from a related information transmitting equipment 26,music piece data for downloading (ATRAC data and MPEG audio data), soundadditional information corresponding to the music piece data, an MHEG(Multimedia and Hypermedia Information Coding Experts Group) scriptrealizing an interactive GUI (Graphical User Interface) used at the timeof selecting a music piece to be downloaded on the reception side, andadditional information tables (PSI: Program Specific Information)indicating a TS packet in a TS, in which the main broadcast signal,music piece data for downloading, and the like are included, therebygenerating a TS in the MPEG2 system. The generated TS is supplied to ascrambler 23

Since the music piece data for downloading includes ATRAC data (whichwill be described hereinlater) which does not match the TS in the MPEG2system, some contrivance is necessary at the time of multiplexing (thedetails will be described hereinlater)

The additional information tables PSI are a PAT (Program AssociationTable), a PMT (Program Map Table), an SIT (Selection Information Table),and the like. By sequentially referring to the tables, the packet ID ofthe TS packet including the desired data can be known. The details aredescribed in, for example, ETS 300468, Digital Video Broadcasting (DVB);Specification for Service Information (SI) in DVB system

The music piece data for downloading will now be described withreference to FIG. 3. As shown in FIG. 3, for example, music piece datafor downloading to be multiplexed on the main broadcast signal of aprogram A is data on a plurality of musical pieces A, B, and C relatedto the program A and has two kinds of data for each musical piece; MPEGaudio data compression coded by the MPEG2 system and ATRAC datacompression coded by the ATRAC system. The MPEG audio data and the ATRACdata of each music piece is repeatedly transmitted during thebroadcasting time of the program A.

Time required to transmit MPEG audio data once is equal to time (playtime) to reproduce the MPEG audio data. Time required to transmit ATRACdata once is equal to a quarter of time required to reproduce the ATRACdata.

For example, when broadcasting time of the program A is one hour and theplay time of the music piece A is eight minutes, the time to transmitMPEG audio data (music piece A .mpg) of the music piece A once is alsoeight minutes. The MPEG audio data on the music piece A is repeatedlytransmitted seven times (=60/8) at the maximum during the broadcastingtime of the program A. On the other hand, the time required to transmitthe ATRAC data on the music piece A once is 2 (=8/4) minutes, and theATRAC data on the music piece A is repeatedly transmitted 30 (=60/2)times at the maximum. When play time of the music piece B is nineminutes, time required to transmit MPEG audio data on the music piece B(music piece B .mpg) is also nine minutes, and MPEG audio data on themusic piece B is repeatedly transmitted six (=60/9) times at the maximumduring the broadcasting time of the program A. On the other hand, timerequired to transmit the ATRAC data on the music piece B once is 2.25(=9/4) minutes. During the broadcasting time of the program A, the ATRACdata on the music piece B is repeatedly transmitted 26 (=60/2.25) timesat the maximum

Referring to FIG. 2 again, the scrambler 23 scrambles the TS suppliedfrom the multiplexer 22 by using a scramble key (Ks) supplied from therelated information transmitting equipment 26 and outputs the resultantto the post stage. A program control system 24 generates a predeterminedcontrol signal to control the encoder 1. The program control system 24outputs information such as a program ID, a channel ID, and the like onthe program corresponding to the main broadcast signal to be compressioncoded by the encoder 21 to the related information transmittingequipment 26. The scramble control system 25 supplies a contract key(Kw) to the related information transmitting equipment 26, generates theindividual information EMM including the contract key encrypted by usingan individual key peculiar to the IRD 5, and outputs the individualinformation EMM to the multiplexer 22

The individual information EMM to be generated has items such as cardID, contract key number (Kw_no), contract key (Kw), contract channel ID(service_id, series_id), contract number ID (event_id), contract type(authorize_type), program purchase upper limit (Over_view), SMS callgeneration date (polling_date), and SMS call generation amount(upkink_fee). The details of the items will be described hereinlater asappropriate.

The related information transmitting equipment 26 supplies a scramblekey to the scrambler 23. The related information transmitting equipment26 also generates program information ECM including the scramble keyencoded by using the contract key supplied from the scramble controlsystem 25 and outputs the program information ECM to the multiplexer 22.

The program information ECM to be generated has items such as thecontract key number (Kw_no), encoded scramble key (Ks_Odd, Ks_Even),channel ID (service_id, series_id, event_id), number ID (event_id),pay-per-view fee (PPV_fee), preview (viewing) time, the limit number ofpreviewing (viewing) times, current time, and purchase limit time. Thedetails of the items will be described hereinlater as appropriate.

An audio-visual information collecting and processing system 27processes audio-visual history information and the like supplied fromthe IRD 5 via the public telephone line 11 and outputs processedinformation as contract information to the scramble control system 25.

The viewing time and the limit number of viewing times of each of themusic piece data included in the program information ECM will now bedescribed. In the embodiment, each of the music piece data can be viewedwithin the range described as the viewing time and the limit number ofviewing times included in the program information ECM. As the viewingtime set for the music piece data, time shorter than the whole play timeof the music piece and long enough to select the music piece is set. Thelimit number of viewing times is set to a value larger than one so thata plurality of music piece data can be repeatedly compared with eachother. The viewing time and the limit number of viewing times of musicpiece data can be set so as to vary according to music piece data

The purchase limit time of each music piece data included in the programinformation ECM will now be described with reference to FIG. 4. Asdescribed above, the music piece data for downloading (MPEG audio dataand ATRAC data) of each music piece is repeatedly transmitted during thebroadcasting time of the program. In the example shown in FIG. 4, duringthe broadcasting time of the program A, the music piece data fordownloading of the music piece A is repeatedly transmitted 15 times, themusic piece data for downloading of the music piece B is repeatedlytransmitted 13 times, and the music piece data for downloading of themusic piece C is repeatedly transmitted 11 times.

In the case where, for example, the viewer instructs the IRD 5 topurchase the music piece C at timing to during the sixth transmission ofthe music piece data, the music piece data to be transmitted for theseventh time immediately after the instruction is usually downloaded.When the downloading of the music piece data transmitted for the seventhtime fails for some reason, downloading is re-executed with respect tothe music piece data to be transmitted for the eighth time. The finaltransmission time of the music piece data on each of the musical piecesis used for re-execution. Timing at which downloading of the music piecedata transmitted immediately preceding to the final time is set aspurchase limit time by using elapsed time since the program start time.Specifically, as shown in FIG. 4, the purchase limit time of the musicalpieces A, B, and C are set at timings t1, t2, and t3, respectively. Bysetting the purchase limit time as described above, occurrence of asituation such that downloading cannot be performed in spite of aninstruction of purchase can be suppressed

A process of multiplexing the ATRAC data into the TS in the MPEG2 systemwill now be described. The TS packet as a transmission unit of a TS inthe MPEG2 system is set to have a fixed length of 188 bytes. On theother hand, a sound group as a transmission unit of the ATRAC data has424 bytes. When the ATRAC data is used as it is as a TS in the MPEG2system, the match is poor.

In the embodiment, as shown in FIG. 5( a), ATRAC data of 159 bytes isarranged in a TS packet, and a PES (Packetized Elementary Stream) packetis constructed by eight TS packets TSP1 to TSP8. One PES packettherefore includes ATRAC data of 1272 (=159×8) bytes. Since the ATRACdata of 1272 bytes corresponds to, as shown in FIG. 5( b), three soundgroups as transmission units of the ATRAC data, three sound groups canbe transmitted by one PES packet. When an integer number of sound groupsare transmitted by one PES packet, the match between the ATRAC data andthe TS in the MPEG2 system is good.

FIG. 6 shows the configuration of the TS packet in which the ATRAC datais arranged. As shown in the diagram, four bytes from the head of the TSpacket made up of 188 bytes are set as a TS packet header, the following14 bytes are set as a PES packet header, the following two bytes are setas a data header, and the remaining 168 bytes are set as a data body.

In the TS packet header, sequentially from the head, one sync byte, a TSerror indicator in which a flag indicative of presence/absence of anerror in the TS packet is written, a payload unit start indicator inwhich a flag indicating that a new PES packet starts from the payload ofthe TS packet is written, and TS priority indicative of the degree ofimportance of the TS packet are arranged. Subsequently, streamidentification information (PID) of 13 bits indicative of the attributeof an individual stream of the TS packet, TS scrambling controlindicative of the presence/absence and kind of scrambling on the payloadof the packet, adaptation field control indicative of thepresence/absence of an adaptation field, and continuity counterindicative of a serial number given to a packet having the same PID arearranged.

In the TS packet header, sequentially from the head, packet start codeprefix of a fixed value of three bytes, stream ID of one byte foridentifying the stream, and PES packet length of two bytes indicative ofthe length of the PES packet are arranged. Subsequently, fixed pattern“10” of two bits, PES scrambling control of two bits, PES priority ofone bit, data alignment indicator of one bit, copy right of one bit,discrimination between original and copy of one bit, PTS and DTS flagsof two bits, ESCR flag of one bit, ES rate flag of one bit, DMS trickmode flag of one bit, additional copy information flag of one bit, CRCflag of PES of one bit, and PES extension flag of one bit are arrangedFurther, PES header data length of one byte, fixed pattern “1101” offour bits, time stamp (PTS 32 to PTS 30) of three bits, one market bit,time stamp (PTS 29 to PTS 15) of 15 bits, one market bit, time stamp(PTS 14 to PTS 0) of 15 bits, and one market bit are arranged.

In the data header, sequentially from its head, data type of one byte,data transmission type of six bits, and tag of two bits are arranged.

The TS packet shown in FIG. 6 is the first one of eight TS packetsconstructing the PES packet. In each of the second to eighth TS packetsamong the eight TS packets, in place of the PES packet header and thedata header existing in the first TS packet (FIG. 6), as shown in FIG.7, stuffing data is disposed.

In the data body in which the ATRAC data is arranged, as shown in FIG.8, sequentially from the head (the 21st byte of the TS packet), FDFfield length of four bits indicative of length of an FDF (FieldDependent Field) and audio data types 1 and 2 each of four bits arearranged. Audio data type 1 is to define the audio type (for example,ATRAC). Audio data type 2 is to define the classification (for example,ATRAC1 or ATRAC2) in the data type 1. Subsequently, copyright,original/copy (flag corresponding to CGMS (Copy Generation ManagementSystem)), discrimination between stereo and monophonic, emphasisinformation, data start indicator, data end indicator, and PES datacounter of three bits are arranged.

The data start indicator is a flag indicating that the TS packet is thehead of the music piece data. In the data start indicator of the TSpacket as the head of the music piece data, “1” is written. The data endindicator is a flag indicating that the TS packet is at the end of themusic piece data. In the data end indicator of the TS packet as the endof the music piece data, “1” is written. The PES data counter is toindicate the position of the TS packet among the eight TS packetsconstructing the PES packet.

Further, subsequently, identification of copyright mode of one bit,identification of EMI (Encryption Mode Information) of one bit, onereserved bit, present PES number of three bytes, reserved two bytes, andATRAC data checksum of one byte are arranged. After that, the ATRAC datais placed.

The present PES number indicates the PES packet having the TS packetamong a plurality of PES packets constructing the musical piece.Consequently, by detecting the present PES numbers and the PES datacounters of the TS packets sequentially transmitted, continuity of theTSs on the TS packet unit basis can be checked.

In the 29th byte in the TS packet, the ATRAC data checksum is placed.The relation between the ATRAC data checksum and the ATRAC data body inthe 30th and subsequent bytes will be described with reference to FIG.9. As shown in FIG. 9, when the values of the bits of the ATRAC datachecksum are CS[0] to CS[7] and the values of the bits of the ATRAC databody from the 30th byte to the 188th byte are AT[0][0] to AT[158][7],the values of CS[0] to CS[7] are set so that the following is obtained.

CS[0]̂AT[0][0]̂AT[1][0]̂AT[2][0]̂ . . . ̂AT[158][0]=0CS[1]̂AT[0][1]̂AT[1][1]̂AT[2][1]̂ . . . ̂AT[158][1]=0. . .CS[7]̂AT[0][7]̂AT[1][7]̂AT[2][7]̂ . . . ̂AT[158][7]=0where ̂ denotes exclusive OR operation.

As described above, by providing the checksum for the ATRAC data body,on the reception side of the TS packet, whether there is an error in theATRAC data body or not can be determined.

FIG. 10 shows an example of the configuration of the IRD 5. A front endunit 31 in the IRD 5 selects a signal corresponding to a stationselecting operation of the user from the broadcast signal received bythe antenna 4, performs processes such as QPSK demodulation and errorcorrection, and outputs a derived TS (which is scrambled) to adescrambler 32.

The descrambler 32 descrambles the scrambled TS supplied from the frontend unit 31 by using an individual key and the like supplied from the ICcard 40 into a TS packet including the main broadcast signals (MPEGvideo data and MPEG audio data), the MPEG audio data for downloading,the ATRAC data for downloading, the MHEG script for GUI, and the likewhich are multiplexed on the TS. Further, the descrambler 32 suppliesthe derived TS packet of the MPEG video data in the main broadcastsignal to an MPEG video decoder 33, supplies the TS packet of the MPEGaudio data in the main broadcast signal and the TS packet of the MPEGaudio data for downloading to an MPEG audio decoder, supplies the TSpacket of the ATRAC data for downloading to an IEEE1394 interface (I/F)37, and supplies the TS packet of the MHEG script for GUI to a controlunit 39.

The MPEG video decoder 33 decodes the MPEG video data supplied from thedescrambler 32 and outputs derived video data to a display control unit34. The display control unit 34, for example, superimposes the videodata supplied from the MPEG video decoder 33 on a main program displayarea 51 (FIG. 12) of a GUI screen inputted from the control unit 39 anddisplays the composite data on the monitor 6.

The MPEG video decoder 35 decodes the MPEG audio data in the mainbroadcast signal or the MPEG audio data for downloading supplied fromthe descrambler 32 and outputs the derived audio data to a sound controlunit 36. The sound control unit 36 performs an appropriate process suchas fade-in and fade-out of the audio data supplied from the MPEG audiodecoder 35 on the basis of the control from the control unit 39 andoutputs resultant data to the speaker 7 or the MD deck 10.

The IEEE1394 interface 37 eliminates a PMT corresponding to a programother than the program from which the music piece can be purchased fromPAT in the additional information table PSI multiplexed on the TS packetin which the ATRAC data inputted from the descrambler 32 is placed,eliminates PIDs corresponding to the main broadcast signal, MPEG audiodata for downloading, and sound additional information from the PMTcorresponding to the program, newly adds SIT indicative of a partial TS,and outputs an obtained partial TS to the MD deck 9 via the IEEE1394 bus8.

An input unit 38 receives a station selecting operation of the user andan operation on the GUI screen (FIG. 12) and outputs the operationinformation to the control unit 39. The control unit 39 controls each ofthe units in the IRD 5 on the basis of the operation information fromthe input unit 38 and predetermined information inputted from thedescrambler 32. For example, the control unit 39 processes the MHEGscript for GUI inputted from the descrambler 32 and outputs the imagedata to the display control unit 34.

In the IC card 410, information such as an individual key fordescrambling the TS packet is stored. In response to a request from thedescrambler 32, the stored information is supplied to the descrambler32. History information on watched pay-per-view programs and downloadedmusic piece data is recorded in the IC card 40. A modem 41 outputs thehistory information recorded on the IC card 40 to the transmittingequipment 1 via the public telephone network 11 every predeterminedperiod.

A test-listening process of the IRD 5 will now be described withreference to the flowchart of FIG. 11. The test-listening process isexecuted after the user (viewer) of the IRD 5 performs an operation ofdisplaying a GUI for music piece purchase during test-listening abroadcast program from which the music piece data can be purchased(downloaded) and a GUI as shown in FIG. 12 is displayed on the monitor6.

In step S1, the descrambler 32 extracts the program information ECMmultiplexed on the TS and outputs viewing time, the limit number oftest-listen times, and purchase limit time of each of music piece datawritten in the program information ECM to the control unit 39. In stepS2, the control unit 39 compares the number of test-listen times withthe limit number of test-listen times for each musical piece, therebydetermining whether a music piece which can be test-listened exists ornot. When it is determined that a music piece which can be test-listenedexists, the program advances to step S3.

In step S3, the control unit 39 allows a music piece list 53 to bedisplayed on the screen of GUI as shown in FIG. 12. Among the titles ofthe musical pieces described in the music piece list 53, the displaymethod of the titles of musical pieces which can be test-listened andpurchased and that of the titles of musical pieces which cannot betest-listened (the number of test-listening times has reached the limitnumber of test-listening times) but can be purchased are distinguishedfrom each other. For example, characters of the titles of the musicalpieces which can be test-listened and purchased are displayed dark andcharacters of the titles of the musical pieces which cannot betest-listened but can be purchased are displayed light.

The user watching the music piece list 53 selects one of the musicalpieces which are displayed in the music piece list 53 and can betest-listened and depresses a test-listen button 54, in step S4,selection information on the music piece to be test-listened is suppliedfrom the input unit 38 to the control unit 39.

In step S5, the descrambler 32 outputs the MPEG audio data of the musicpiece selected in step S4 to the MPEG audio decoder 35 on the basis ofthe control from the control unit 39. The MPEG audio decoder 35 decodesthe MPEG audio data from the descrambler 32 only for length oftest-listen time written in the program information ECM on the basis ofthe control from the control unit 39 and outputs the obtained audio datato the sound control unit 36. In step S6, the sound control unit 36makes the volume of the head portion of the audio data supplied from theMPEG audio decoder 35 fade in, makes the ending portion fade out, andoutputs the resultant to the speaker 7.

In place of executing the fade-in and fade-out, sound indicative oftest-listen may be inserted at the head and ending portions of the audiodata. The sound quality of the audio data may be changed by using afilter or the like as long as the purpose of the test-listen can beachieved.

In step S7, the control unit 39 increments the number of test-listeningtimes of the music piece selected in step S4 only by one.

After that, in step S2, until it is determined that a music piece whichcan be test-listened does not exist, subsequent processes are repeated.When it is determined that no music piece which can be test-listenedexists, the test-listening process is finished.

As described above, by enabling each of the music piece data to betest-listened, it is advantageous for the audiences and also an effectof prompting purchase is produced. By limiting the number oftest-listening times of each of the music piece data and executingfade-in, fade-out and the like on the audio data to be reproduced, it issuppressed that the music piece data is copied by connecting thetest-listened audio data.

The purchasing process of the IRD 5 will now be described with referenceto the flowchart of FIG. 13. The purchasing process is executed afterthe user performs an operation of displaying GUI for music piecepurchase to the IRD 5 during test-listening of the program from whichthe music piece data can be purchased, and the GUI as shown in FIG. 12is displayed on the monitor 6. The music piece data to be purchased iseither the MPEG audio data or ATRAC data for downloading. The MPEG audiodata or ATRAC data is selected by a predetermined operation performed bythe user or is selected by the IRD 5 by detecting a sound outputterminal of the IRD 5 or a recording equipment (MD deck 9 or the like)connected to the IEEE1394 interface 37.

In step S11, the program information ECM included in the TS is extractedand the viewing time, the limit number of test-listening times, andpurchase limit time of each of music piece data written in the programinformation ECM are outputted from the descrambler 32 to the controlunit 39. In step S12, the control unit 39 compares the current time withthe purchase limit time for each musical piece, thereby determiningwhether a purchasable music piece exists or not. When it is determinedthat a purchasable music piece exists, the program advances to step S13.

In step S13, the control unit 39 allows the music piece list 53 to bedisplayed on the screen of the GUI as shown in FIG. 12. In the musicpiece list 53, the titles of musical pieces which can be test-listenedand purchased and the titles of musical pieces which cannot betest-listened (the number of test-listening times has reached the limitnumber of test-listening times) but can be purchased are distinguishedand, for example, the titles of musical pieces which can betest-listened and purchased are displayed dark and the titles of musicalpieces which cannot be test-listened but can be purchased are displayedlight.

In step S14, after the user sees the music piece list 53 and selectssome of the purchasable musical pieces which are displayed in the musicpiece list 53, the control unit 39 determines whether a purchase button55 is depressed or not. Until depression of the purchase button 55 isdetermined, the program returns to step S12 and subsequent processes arerepeated. During the repetition, the display of the titles of musicalpieces of which purchase limit time has elapsed is changed. Whendepression of the purchase button 55 is determined, the program advancesto step S15.

In step S15, the control unit 39 determines whether the purchase of aplurality of musical pieces has been instructed by the user in step S14or not. When it is determined that the purchase of the plurality ofmusical pieces has been instructed, the program advances to step S16. Instep S16, the control unit 39 determines the downloading order of theplurality of musical pieces to be purchased. The process of determiningthe downloading order will be described with reference to the flowchartof FIG. 14.

In step S21, the descrambler 32 extracts sound additional information atthe present time (corresponding to play time and play elapsed time of amusical piece, and transmission time and transmission elapsed time ofthe MPEG audio data for downloading) corresponding to the plurality ofmusic piece data instructed to be purchased by the control of thecontrol unit 39 from the TS, and outputs the sound additionalinformation to the control unit 39.

In step S22, the control unit 39 refers to the sound additionalinformation from the descrambler 32 and optimizes the downloading orderof the plurality of music piece data. For example, in the case ofpurchasing three musical pieces A, B, and C shown in FIG. 15, at time t0where the purchase instruction is given, the music piece data of whichtiming of transmission start (music piece B in this case) is theearliest in the three music piece data is set as music piece data to bedownloaded first. At transmission end time of the first music piecedata, the music piece data having the earlier transmission start timing(music piece A in this case) in the music piece data on the remainingtwo musical pieces is set as music piece data to be downloaded second.The remaining piece (music piece C in this case) is set as the musicpiece data to be downloaded third. In the case of optimizing thedownloading order as described above, the end time is t1. On thecontrary, in the case of downloading the musical pieces in accordancewith the order of A, B, and C without optimizing the downloading order,the end time is t2 which is behind t1 by one musical piece.

Naturally, in the case of downloading music piece data on three or moremusical pieces as well, the downloading order is optimized in a similarmanner.

In step S23, the control unit 39 determines whether or not there ismusic piece data which cannot be downloaded due to the purchase limittime in the downloading order determined in step S22. When it isdetermined that the music piece data which cannot be downloaded exists,the program advances to step S24.

In step S24, the control unit 39 allows the message to the effect thatthe music piece data which cannot be downloaded exists and the title ofthe music piece to be displayed in an information display area 52 in theGUI. By the display, the user can know the music piece data which cannotbe downloaded and can select another music piece data to be purchased asnecessary.

When it is determined at step S23 that no music piece data which cannotbe downloaded exists, the program skips step S24.

After executing the process of determining the downloading order asdescribed above, the program returns to step S17 in FIG. 13. In stepS17, the descrambler 32 extracts music piece data in accordance with theorder determined in step S16 by the control of the control unit 39 andoutputs the extracted music piece data to the post stage. In the case ofdownloading MPEG audio data for downloading, the MPEG audio data is MPEGdecoded by the MPEG audio decoder 35 and, after that, decoded data issupplied to, for example, the MD deck 10 via the sound control unit 36and the sound output terminal and is recorded. In the case where theATRAC data is downloaded, the ATRAC data is supplied to the MD deck 9via the IEEE1394 interface 37 and is recorded.

By executing the purchasing process including the download orderdetermining process as described above, the music piece data of a largeramount can be efficiently downloaded.

The following manner is also possible. In step S11, when the controlunit 39 detects the level of a received wave and the level is equal toor lower than a predetermined value, it is determined that nopurchasable music piece exists.

It is also possible to store the order when a plurality of musicalpieces are selected in step S14, skip the downloading order determiningprocess in step S16, and perform downloading in accordance with theorder at the time of the selection.

Even in the case where the music piece data is downloaded in the orderwhich is not intended by the user, each of the MD decks 9 and 10 canreproduce the musical pieces in arbitrary order as a providedstandardized function.

In the embodiment, however, the two kinds of MPEG audio data and ATRACdata exist as music piece data for downloading as described above. Atthe time of test-listening the musical piece, the MPEG audio data in thetwo kinds of data is reproduced. Therefore, the MPEG audio data can betest-listened while downloading the ATRAC data. The parallel processwill be described with reference to the flowchart of FIG. 16.

The parallel process is executed simultaneously with the downloadingprocess in step S17 in FIG. 13. When the control unit 39 determineswhether the music piece data being downloaded is ATRAC data or not anddetermines that the music piece data being downloaded is ATRAC data instep S31, the program advances to step S32. In step S32, the controlunit 39 executes the above-described test-listening process (FIG. 11).The same music piece as that of the ATRAC data being downloaded and themusic piece which has already been downloaded cannot be test-listened.

When it is determined in step S31 that the music piece data beingdownloaded is not the ATRAC data (that the music piece data beingdownloaded is MPEG audio data), step S32 is skipped.

Alternately, in step S32, MPEG audio data on a music piece differentfrom the ATRAC data being downloaded can be purchased.

By executing such a parallel process, a music piece can be test-listenedduring loading another musical piece, and music piece data on twodifferent musical pieces (ATRAC data on a music piece and MPEG audiodata on another musical piece) can be simultaneously downloaded.

An example of the configuration of the MD deck 9 connected to the IRD 5via the IEEE1394 bus 8 will now be described with reference to FIG. 17.The MD deck 9 is constructed in such a manner that a control unit 61 forcontrolling each of the units in the MD deck 9, an IEEE1394 interface 62for receiving the partial TS including the ATRAC data from the IRD 5, arecording/reproducing unit 63 for controlling recording/reproducing ofthe ATRAC data to/from an MD 71, and an ATRAC encoder/decoder 68 fordecoding the ATRAC data from the recording/reproducing unit 63 andoutputting the decoded data to a DAC 69 or encoding digital audio datafrom the DAC 69 and outputting the encoded data to therecording/reproducing unit 63 are connected to each other via a systembus 70.

To the recording/reproducing unit 63, a buffer 64 for temporarilystoring ATRAC data to be recorded on an MD, a magnetic head 65, anoptical pickup 66, and a spindle motor 67 are connected. At the time ofrecording, the optical pickup 66 emits a laser beam onto the MD 71 toincrease the temperature of the spot irradiated with the laser beam to apredetermined value. The magnetic head 65 records a magnetic signalcorresponding to the ATRAC data supplied from the recording/reproducingunit 63 to the spot on the MD 71, at which the temperature is increasedto the predetermined value by the laser beam from the optical pickup 66.The optical pickup 66 irradiates the MD 71 with a laser beam at the timeof reproduction, receives reflection light of the laser beam, convertsthe reflection light to an electric signal, and outputs obtained ATRACdata to the recording/reproducing unit 63. The spindle motor 67 rotatesthe MD 71 on the basis of the control from the recording/reproducingunit 63.

The DAC 69 for conversion between digital and analog signals isconnected to the ATRAC encoder/decoder 68.

The operation will now be described. At the time of recording, a PESpacket including the ATRAC data is detected on the basis of the PSIpacket multiplexed on the partial TS from the IRD 5 and, further, onlythe ATRAC data is extracted from the PES packet. The extracted ATRACdata is supplied to the recording/reproducing unit 63 via the system bus70. The recording/reproducing unit 63 controls the optical head 65,optical pickup 66, and spindle motor 67 to record the ATRAC datasupplied from the IEEE1394 interface 62 onto the MD 71.

At the time of reproduction, the recording/reproducing unit 63 controlsthe optical pickup 66 and the spindle motor 67 to read the ATRAC datafrom the MD 71 and supplies the ATRAC data to the ATRAC encoder/decoder68. In the ATRAC encoder/decoder 68, the ATRAC data supplied from therecording/reproducing unit 63 is decoded and resultant data is outputtedto, for example, a speaker via the DAC 69.

FIG. 18 shows an example of the detailed configuration of the IEEE1394interface 62. A control unit 81 controls processes of a PID detectingunit 82 in response to predetermined information supplied from thecontrol unit 61 and a start/end bit detecting unit 83 to an ATRAC dataextracting unit 88.

The PID detecting unit 82 converts the partial TS supplied from the IRD5 into an MPEG stream, extracts only the TS packet whose PID (FIG. 13)of 13 bits written in the packet header is equal to a predetermined PID(PID indicative of the TS packet including the ATRAC data) designated bythe control unit 81 from the TS packets, and outputs the extracted TSpacket to the start/end bit detecting unit 83 and to ATRAC dataextracting unit 88 at the post stage.

The start/end bit detecting unit 83 detects a data start indicator (inthe 23rd byte in the TS packet shown in FIG. 8) in the TS packetsequentially supplied from the PID detecting unit 82. When “1” iswritten in the data start indicator, the detection information isoutputted to the control unit 81. The detection information is suppliedto the control unit 61 via the control unit 81 and is used as a triggerto start recording the ATRAC data onto the MD 71. The start/end bitdetecting unit 83 detects a data end indicator (the bit next to the LSBside of the data start indicator) in the TS packet. When “1” is writtenin the data end indicator, the detection information is outputted to thecontrol unit 81. The detection information is supplied to the controlunit 61 via the control unit 81 and is used as a trigger to finish therecording of the ATRAC data onto the MD 71.

The packet counter detecting unit 84 ascertains continuity of the PESdata counter (three bits next to the LSB side of the data end indicator)of the TS packet sequentially supplied from the PID detecting unit 82and a present PES number (from the 24th byte to the 26th byte in the TSpacket shown in FIG. 8).

Meanwhile, the PES data counter is a cyclic counter of the values from 0to 7. The present PES number is incremented by one each time the valueof the PES data counter is restarted from 0 after 7. That is, in the PESdata counter of the first TS packet among eight TS packets constructinga PES packet of a continuous normal TS (TS where no packet dropoutoccurs), “1” is written. In the PES data counters of the subsequent TSpackets, values incremented one by one are sequentially written. In thePES data counter of the eighth TS packet in the PES packet, “7” iswritten. The present PES number of the eight TS packets is commonlyused. In the PES data counters of eight TS packets subsequent to theabove TS packets, values from 0 to 7 incremented one by one are writtenagain. Each of the present PES numbers is obtained by adding “1” to thevalue written in the PES number of the preceding eight TS packets. Thevalue of the present PES number of the head TS packet of the ATRAC datahaving the data start indicator in which “1” is written is zero.

When the value of the PES data counter of a TS packet inputted and thevalue of the present PES number are read and stored and discontinuity ofthe value of the PES data counter of a TS packet supplied next and thevalue of the present PES number is detected, the packet counterdetecting unit 84 outputs the information to the control unit 81.

The error detecting unit 85 detects the TS error indicator in the secondbyte in the TS packet sequentially inputted from the PID detecting unit82 and determines whether “1” is written or not in the TS errorindicator. “1” is written in the TS error indicator when an errorcorrecting process cannot be completed in the front end unit 31 in theIRD 5. When “1” is written in the TS error indicator, therefore, it canbe considered that at least one error is included in the TS packet. Whenit is determined that “1” is written in the TS error indicator, theerror detecting unit 85 outputs the information to the control unit 81.When the ATRAC data described in the 30th and subsequent bytes ischecked by using the ATRAC data checksum in the 29th byte in the TSpacket and an error is detected, the error detecting unit 85 outputs thedetection information to the control unit 81.

The format detecting unit 86 detects the data type (in the 19th byte inthe TS packet shown in FIG. 6) of a TS packet subsequently inputted fromthe PID detecting unit 82, data transmission type (in the 20th byte inthe TS packet shown in FIG. 6), FDF field length (in the 21st byte inthe TS packet shown in FIG. 8), and audio data types 1 and 2 (in the21st and 22nd bytes in the TS packet shown in FIG. 8) to check whetheror not each of the values written in the bytes is equal to apredetermined value indicative of a packet including ATRAC data. When itis determined that each of the values is not equal to the predeterminedvalue, the format detecting unit 86 outputs the detection information tothe control unit 81.

The copyright information detecting unit 87 detects the copyright,original or copy, copyright mode, and EMI mode (in the 22nd and 23rdbytes in the TS packet shown in FIG. 8) of the TS packet sequentiallyinputted from the PID detecting unit 82 and checks whether or not eachof the values is equal to a predetermined value indicating that theATRAC data is permitted to be copied. When it is determined that each ofthe values is not equal to the predetermined value, the copyrightinformation detecting unit 87 outputs the detection information to thecontrol unit 81.

The ATRAC data extracting unit 88 extracts the ATRAC data placed in the30th bytes to 188th bytes in the TS packet inputted from the PIDdetecting unit 82 and outputs the detected data to the post stage.

The ATRAC data extracting process of the IEEE1394 interface 62 will nowbe described with reference to the flowchart of FIG. 19. The ATRAC dataextracting process is started upon receipt of the partial TS from theIRD 5.

In step S41, the PID detecting unit 82 converts the partial TS inputtedfrom the IRD 5 into an MPEG stream, after that, extracts only a TSpacket having the PID of 13 bits written in the packet header equal tothe PID indicative of the TS packet including the ATRAC data, andoutputs the extracted TS packet to the start/end bit detecting unit 83to the ATRAC data extracting unit 88 at the post stage.

In step S42, the copyright information detecting unit 87 detects thecopyright, original or copy, copyright mode, and EMI mode of the TSpacket sequentially inputted from the PID detecting unit 82 and checkswhether or not each of the values is equal to a predetermined valueindicating that the ATRAC data placed in the TS packet is permitted tobe copied. When it is determined that each of the values is equal to thepredetermined value and indicates that the ATRAC data is permitted to becopied, the program advances to step S43.

In step S43, the start/end bit detecting unit 83 monitors the data startindicator in the TS packet inputted from the PID detecting unit 82,waits until “1” is detected and, when “1” is detected, outputs thedetection information to the control unit 81. In response to thedetection information, the control unit 81 outputs a predeterminedsignal to the ATRAC data extracting unit 88 and the control unit 61.

In step S44, in response to the signal from the control unit 81, theATRAC data extracting 88 extracts the ATRAC data placed in the 30th andsubsequent bytes in the TS packet supplied from the PID detecting unit82 and outputs the extracted ATRAC data to the recording/reproducingunit 63 at the post stage. The control unit 61 instructs each of theunits in the MD deck 9 to start recording of the ATRAC data onto the MD71 in response to the signal from the control unit 81, thereby startingthe recording of the ATRAC data onto the MD 71.

In step S45, the packet counter detecting unit 84 detects the PES datacounter and the present PES number in the TS packet supplied from thePID detecting unit 82 to check the continuity of the values written inthe PES data counter and the present PES number. When it is determinedthat the values of each of the PES data counter and the present PESnumber in the TS packet have continuity, the program advances to stepS46.

In step S46, the error detecting unit 85 detects a TS error indicator inthe TS packet supplied from the PID detecting unit 82 and determineswhether. “1” is written in the TS error indicator or not. Further, theerror detecting unit 85 determines whether or not an error exists in theATRAC data written in the 30th and subsequent bytes by using the ATRACdata checksum in the TS packet. When “1” is not written in the TS errorindicator and it is determined that no error exists in the ATRAC data,the program advances to step S47.

In step S47, the format detecting unit 86 detects the data type, datatransmission type, FDF field length, and audio data types 1 and 2 in theTS packet supplied from the PID detecting unit 82 and determines whetheror not each of those values is equal to a predetermined value indicativeof a packet including the ATRAC data. When it is determined that each ofthe written values is equal to the predetermined value indicative of apacket including the ATRAC data, the program advances to step S48.

In step S48, the start/end bit detecting unit 83 monitors the data endindicator in the TS packet supplied from the PID detecting unit 82 anddetermines whether “1” is written in the data end indicator or not. Whenit is determined that “1” is not written, the program returns to stepS45, and the subsequent processes are repeated. On the contrary, when itis determined that “1” is written in the data end indicator, thestart/end bit detecting unit 83 outputs the detection information to thecontrol unit 81. In response to the detection information, the controlunit 81 outputs a predetermined signal to the ATRAC data extracting unit88 and the control unit 61. In response to the signal from the controlunit 81, the ATRAC data extracting unit 88 finishes extracting the ATRACdata from the TS packet supplied from the PID detecting unit 82. Inresponse to the signal from the control unit 81, the control unit 61instructs each of the units in the MD deck 9 to finish the recording ofthe ATRAC data onto the MD 71, thereby finishing the recording of theATRAC data onto the MD 71.

In step S42, when the value written in each of the copyright, originalor copy, copyright mode, and EMI mode of the TS packet sequentiallyinputted from the PID detecting unit 82 is not equal to a predeterminedvalue indicating that the ATRAC data placed in the TS packet ispermitted to be copied and it is determined that the ATRAC data is notpermitted to be copied, the result of the determination is outputtedfrom the copyright information detecting unit 87 to the control unit 81and the program advances to step S49.

In step S45, when it is determined that the values of each of the PESdata counter and the present PES number in the TS packet supplied fromthe PID detecting unit 82 do not have continuity, the determinationresult is outputted from the packet counter detecting unit 84 to thecontrol unit 81 and the program advances to step S49.

In step S46, when it is determined that “1” is written in the TS errorindicator in the TS packet supplied from the PID detecting unit 82, orwhen it is determined that an error exists in the ATRAC data, thedetection result is outputted from the error detecting unit 85 to thecontrol unit 81 and the program advances to step S49.

In step S47, when it is determined that each of values written in thedata type, data transmission type, FDF field length, and audio datatypes 1 and 2 in the TS packet supplied from the PID detecting unit 82is not equal to a predetermined value indicative of a packet includingthe ATRAC data, the program advances to step S49.

In step S49, in response to the determination result from the packetcounter detecting unit 84 to the copyright information detecting unit87, the control unit 81 makes the PID detecting unit 82 stop extractingthe TS packet and outputs the information to the control unit 61. Inresponse to the information, the control unit 61 instructs each of theunits in the MD deck 9 to stop the recording of the ATRAC data onto theMD 71 and notifies the IRD 5 of the stop of recording.

The processes in steps S45 to S47 may be performed in different order orin parallel.

When it is considered that occurrence of an error on the transmissionpath of the TS is little (that is, the quality of the transmission pathis good), the error detection using the checksum in step S46 is notexecuted but only the TS error indicator may be checked.

As described above, the IEEE1394 interface 62 in the MD 9 extracts onlythe ATRAC data placed in the TS packet. At this time, abnormality (datadropout, occurrence of an error, and the like) which occurs in the TSpacket is monitored. When abnormality is detected, the extraction of theATRAC data is stopped. Thus, a failure in downloading such that abnormalATRAC data is recorded can be suppressed.

In the EMD system as the embodiment, the invention is applied to digitalsatellite broadcasting. The invention can be also applied to digitalcable television broadcasting and digital ground broadcasting.

The invention is not limited to the audio data distributing service butcan be applied to, for example, service of distributing a programprocessed by a computer or a television game machine.

Referring to FIG. 20, a medium used for installing a program ofexecuting the series of processes to the IRD or MD deck to set a statein which the program can be executed by the IRD or MD deck will now bedescribed.

As shown in FIG. 20A, the program conformed to the IRD can be providedto the user in a state where it is pre-installed on a hard disk 102 or asemiconductor memory 103 as a recording medium provided in an IRD 101(corresponding to the IRD 5 in FIG. 1).

Alternately, as shown in FIG. 20B, the program can be temporarily orpermanently stored in a recording medium such as a floppy disk 111, aCD-ROM (Compact Disc-Read Only Memory) 112, an MO (Magneto Optical) disk113, a DVD (Digital Versatile Disc) 114, a magnetic disk 115, or asemiconductor memory 116, and can be provided as package software.

Further, as shown in FIG. 20C, the program can be transferred by radiofrom a download site 121 to an IRD 123 via a satellite 122 ortransferred by a wire or by radio to the IRD 123 via a network 131 suchas a local area network or the Internet. The program can be stored intoa built-in hard disk or the like in the IRD 123.

Since a program conformed to the MD deck is similar to that conformed tothe IRD, its description is omitted here.

The medium in the specification has a concept in a broad sense includingall the above media.

In the specification, the steps of writing a program provided by themedium include not only processes time-sequentially performed accordingto the written order but also processes which are not always processedtime-sequentially but are executed in parallel or individually.

Although the example in which data in the MHEG format is transmitted asdata for GUI or the like distributed from a broadcast station side hasbeen described in the foregoing embodiment, the invention can be alsoapplied to a case where data is transmitted as data in another format.For example, the invention can be also applied to a case where data inthe HTML (Hyper Text Make-up Language) format or data in the XML(extensive Markup Language) format is transmitted.

In the specification, the system denotes the whole equipment constructedby a plurality of equipments.

1. Receiving equipment for receiving a transport stream obtained byrepeatedly multiplexing a plurality of contents data, comprising:reading means for reading predetermined information corresponding to thecontents data from the transport stream; receiving means for receivingdesignation of the contents data from the user; determining means fordetermining order of extracting the plurality of contents datacorresponding to the designation of the user received by the receivingmeans from the transport stream with reference to the predeterminedinformation read by the reading means on the basis of a predeterminedalgorithm; and extracting means for extracting the plurality of contentsdata corresponding to the designation of the user received by thereceiving means from the transport stream in accordance with the orderdetermined by the determining means.
 2. The receiving equipmentaccording to claim 1, further comprising: display control means forcontrolling a display to the effect that the contents data unable to beextracted exists when there exists the contents data which cannot beextracted within predetermined time by the extracting means in theplurality of contents data corresponding to the designation by the underreceived by the receiving means in the case where the extracting meansextracts from the transport stream the plurality of contents datacorresponding to the designation by the user received by the receivingmeans in accordance with the order determined by the determining means.3. A method for receiving a transport stream obtained by repeatedlymultiplexing a plurality of contents data, characterized by comprising:step of reading predetermined information corresponding to the contentsdata from the transport stream; step of receiving designation of thecontents data from the user; and step of determining order of extractinga plurality of contents data corresponding to the designation from theuser received in the receiving step from the transport stream withreference to the predetermined information read in the reading step onthe basis of a predetermined algorithm.
 4. Receiving equipment forreceiving a transport stream obtained by multiplexing plural encodeddata encoded by different systems, comprising: first extracting meansfor extracting first encoded data from the transport stream received;first outputting means for outputting the first encoded data extractedby the first extracting means; second extracting means for extractingsecond encoded data from the transport stream received; decoding meansfor decoding the second encoded data extracted by the second extractingmeans to thereby generate audio data; and second outputting means foroutputting the audio data generated by the decoding means.
 5. Thereceiving equipment according to claim 4, wherein the first encoded datais compressed audio data encoded by using an ATRAC system, and thesecond encoded data is compressed audio data encoded by using an MPEG2system.
 6. A method for receiving a transport stream obtained bymultiplexing plurally encoded data encoded by different systems,comprising: a first extracting step of extracting first encoded datafrom the transport stream received; a first outputting step ofoutputting the first encoded data extracted in the first extractingstep; a second extracting step of extracting second encoded data fromthe transport stream received; a decoding step of decoding the secondencoded data extracted in the second extracting step to thereby generateaudio data; and a second outputting step of outputting the audio datagenerated in the decoding step.